﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace FPP.Utilities
{
    public static class DateUtil
    {
        public static int GetAge(DateTime birthDay)
        {
            return ((DateTime.MinValue + (DateTime.Now - birthDay)).Year - 1);
        }
    }
}